package com.webdrider.manager.interfaces;

import java.util.List;

import com.common.manager.interfaces.IManager;
import com.common.security.exceptions.ManagerException;
import com.webdrider.model.action.snippet.Article;
import com.webdrider.model.action.snippet.Domain;
import com.webdrider.model.action.snippet.Tag;
import com.webdrider.security.exceptions.SnippetException;

public interface IArticleManager extends IManager<Article> {
	
	public List<Article> getAllByDomain(Domain domain) throws ManagerException, SnippetException;
	
	public List<Article> getAllByTags(List<Tag> tags) throws ManagerException;
	
	public List<Article> getAllByTagsAndDomain(List<Tag> tags, Domain domain) throws ManagerException;
}
